<template>
  <div class="time-container" @click="backDestop">
    <flip-clock />
  </div>
</template>

<script>
import FlipClock from "kuan-vue-flip-clock"
import { mapActions } from "vuex"

export default {
  name: "lockTime",
  methods: {
    ...mapActions(["changeShowDesktop"]),
    backDestop() {
      this.changeShowDesktop(true)
    }
  },
  components: {
    FlipClock
  }
}
</script>
<style scoped>
.time-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #969696 0%, #595959 100%);
}
</style>
